var host = "zhiyan.zxhong.com/friesland/api/index.php?m=index&a"

var prizeHost = "zhiyan.zxhong.com/friesland/api/index.php?m=prize&a"

var config = {

  host,
  
  //每个项目的pid
  proId: 'd26529a90763a298c7de32efda5d0b17',

  //获取openid及操作Key
  openid: `https://${host}=openid`,

  //tag标签
  tag: `https://${host}=tag_article`,

  //首页文章列表
  article: `https://${host}=article`,

  //video列表接口
  video: `https://${host}=video`,

  //公告
  note: `https://${host}=note`,

  //详情
  artDetail: `https://${host}=artDetail`,

  //点赞
  zan : `https://${host}=zan`,

  //收藏
  collect: `https://${host}=collect`,

  //评论
  comment: `https://${host}=comment`,

  //征集图片
  image: `https://zhiyan.zxhong.com/friesland/api/index.php?m=upload&a=image`,

  //征集文章
  word: `https://zhiyan.zxhong.com/friesland/api/index.php?m=upload&a=word`,

  //征集视频
  video_zj:`https://zhiyan.zxhong.com/friesland/api/index.php?m=upload&a=video`,

  //user
  user: `https://${host}=user`,

  //我的收藏
  myCollect: `https://${host}=myCollect`,

  //意见反馈
  suggest: `https://zhiyan.zxhong.com/friesland/api/index.php?m=upload&a=suggest`,


  //转盘首页
  prizeIndex: `https://${prizeHost}=index`,

  //点击抽奖
  draw: `https://${prizeHost}=draw`,

  //抽奖crm
  drawUser: `https://${prizeHost}=user`,

};

module.exports = config